
package eureka.provider.controller;
import eureka.provider.service.ProviderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RequestMapping(value = "/provide")
@RestController
public class ProviderController {
    @Autowired
    ProviderService providerService;

    @RequestMapping(value = "/con1")
    public String con1(){
        return "con1-" + providerService.fun1();
    }
}
